package com.kukudexin.base01;

import java.util.concurrent.Callable;

/**
 * @author: 酷酷的鑫
 * @description:
 */
public class ThreadCallable implements Callable<Integer> {

    @Override
    public Integer call() throws Exception {
        System.out.println(Thread.currentThread().getName() + "开始执行");
        Thread.sleep(2000);
        System.out.println(Thread.currentThread().getName() + "结束执行");
        return 1;
    }
}
